package Interfaces
{
	import flash.display.DisplayObjectContainer;

	public interface MIAppStarter
	{
		function setFullscreenMode( fullscreen : Boolean ) : void;
		function isFullscreenMode() : Boolean;
		
		function getWidth() : int;
		function getHeight() : int;
		
		function getHostContainer() : DisplayObjectContainer;
		
		function getUIContainer() : Array;
		
		function getSessionParamsPtr() : Object;
		function packSessionData() : Array;		
		function equivalentSession( obj1:Array, obj2:Array ) : Boolean;
		function setSessionParamsPtr( value : Object ) : void
				
		// At the first time app running on browser. There is a waiting time for 
		// application loading its own resources. Calling methods <i>unlockScreen</i> 
		// to hide loading screen and show up game interaction screen
		function unlockScreen() : void;
		
		// Useful when application need to hide and show game interaction containers
		// in new order list
		function updateContainerOrderMode( mode : String ) : void;
		
		function getContainerOrderMode() : String;		
		
		function getAMFGatewayInfo() : Object;
		
		function getSocialParams() : Object;
		
		// For screen capture mode
		function getIsoContainer() : DisplayObjectContainer;
		
		function drawDefaultBackroundColor( color:uint=0x000000 ):void;
		
		function getCacheGameInitData():*;
		
		function fetchCacheGameInitSession():*;
		
		function isNewPlayer():Boolean;
		
	}
}